﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Even or odd number</title>
    <link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
    <div id="js-console"></div>
	<script src="scripts/js-console.js"></script>

    <script>
        var number = 5;

        if (number%2==0) {
            jsConsole.writeLine("The number is even.");
        }
        else {
            jsConsole.writeLine("The number is odd.");
        }
    </script>
</body>
</html>
